/*
 * @Author: _oufen
 * @Date: 2023-07-03 13:31:06
 * @LastEditTime: 2023-08-02 23:55:10
 * @Description:
 */
#ifndef __SERVO_H__
#define __SERVO_H__

#include "sys.h"

#define x_pwm TIM4->CCR2
#define y_pwm TIM4->CCR1

#define x_middle 600
#define y_middle 1430 // 1300   1400   1450

void Servo_Init(void);
void Servo_SetAngle(float Angle);
void Servo_SetAngle2(float Angle);

#endif
